import { http } from '@/utils/http'

/**
 * 查询班级
 * @param
 * @returns
 */
export function getClassesApi(params: any) {
  return http.get<any>(`/edu/teacherMapping/list`, params)
}

/**
 * 分配班级
 * @param
 * @returns
 */
export function assignClassesApi(data: any) {
  return http.post<any>(`/edu/teacher/lesson/addClass`, data)
}
